OPC Studio User's Guide and Reference
ValueType Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : ValueType Property
Provides the .NET type of the node value (the Value attribute).
Syntax
'Declaration
 
<NotNullAttribute()>
Public ReadOnly Property ValueType As Type
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Type
 
value = instance.ValueType
[NotNull()]
public Type ValueType {get;}
[NotNull()]
public:
property Type^ ValueType {
   Type^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Remarks
This property is referenced by the OpcLabs.EasyOpc.UA.LiveMapping.UADataAttribute.ValueTypeProvidedBy attribute on the Value property.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also